#pragma once
#include"Notify.h"


// 邀请结果通知派生类
class InviteResultNotify : public Notify {
    private:

        bool accept;
        
    public:
        InviteResultNotify(const int& inviter_id, const int& invitee_id,const string& chat_room_id, const string& content, const string& time, bool accept);
        InviteResultNotify(json invite_result_notify_json);
        InviteResultNotify()=default;

        json serialize()const override;

        void unserialize(const json& j) override;

        NotifyType get_notify_type() const override;
};
